#ifndef _FIG_UI_SHOP_H_
#define _FIG_UI_SHOP_H_

#include "fig_mogaui_state.h"

namespace ui
{
 class UISlideBox;
 class UIWidget;
}

class GENGameState;

class FIGUIShop : public FIGMOGAUIState
{
public:

	const static int MAX_SHOP_ITEM = 3;
	const static int ITEM_PRICES[];

		
	FIGUIShop(camera::FbCamera*	pCamera);
	~FIGUIShop();

	
	

	//virtual bool			OnEnter();
	  virtual	bool		Tick(float dt);
	//virtual bool			Render();
	//virtual void			KeyPressed(input::Keyboard::KEY* pKey);

	virtual void			MouseButtonReleased(input::Mouse::BUTTON_STATE* pKey, const math::Vec2& Pos);
	virtual void			MouseButtonDown(input::Mouse::BUTTON_STATE* pKey, const math::Vec2& Pos);


	
	
	
	//virtual bool			OnUIKeyDownEvent(int KeyCode);
	
protected:

	void DELEGATE_CALL		OnSlideChange(ui::UIWidget::WIDGET_EVENT Event, ui::UIWidget* pWidget);
	void DELEGATE_CALL		OnButtonPrice(ui::UIWidget::WIDGET_EVENT Event, ui::UIWidget* pWidget);
	void DELEGATE_CALL		OnButtonSelect(ui::UIWidget::WIDGET_EVENT Event, ui::UIWidget* pWidget);

	void					SlideChange();
	
	
	ui::UISlideBox*			m_pSlideBox;
	ui::UIWidget*			m_pUIButtonPrice;
	ui::UIWidget*			m_pUITxtPrice;
	ui::UIWidget*			m_pUIButtonSelect;
	ui::UIWidget*			m_pUIGameMoney;

	ui::UIWidget*			m_pUISelectedShipGlow[MAX_SHOP_ITEM];

	


};


#endif //_PVI_UI_WRAPPER_H_